From: Giuseppe Scrivano Date: Mon, 23 Feb 2015 10:51:48 +0000 (+0100) Subject: ostree-repo-static-delta-processing: initialize "modev" X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~904 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=22af1d9633f1e99a94be21d6e436ac2aa39c08dd;p=ostree.git ostree-repo-static-delta-processing: initialize "modev" Can be gs_unref_variant'ed on an early error. Signed-off-by: Giuseppe Scrivano --- diff --git a/src/libostree/ostree-repo-static-delta-processing.c b/src/libostree/ostree-repo-static-delta-processing.c index b268fb2c..47adce39 100644 --- a/src/libostree/ostree-repo-static-delta-processing.c +++ b/src/libostree/ostree-repo-static-delta-processing.c @@ -461,7 +461,7 @@ do_content_open_generic (OstreeRepo *repo, GError **error) { gboolean ret = FALSE; - gs_unref_variant GVariant *modev; + gs_unref_variant GVariant *modev = NULL; guint64 mode_offset; guint64 xattr_offset; guint32 uid, gid, mode;